import request from '@/utils/request'

// 查询维修分类管理列表
export function listRepairContent(query) {
  return request({
    url: '/manage/repairContent/list',
    method: 'get',
    params: query
  })
}

// 查询维修分类管理详细
export function getRepairContent(id) {
  return request({
    url: '/manage/repairContent/' + id,
    method: 'get'
  })
}

// 新增维修分类管理
export function addRepairContent(data) {
  return request({
    url: '/manage/repairContent',
    method: 'post',
    data: data
  })
}

// 修改维修分类管理
export function updateRepairContent(data) {
  return request({
    url: '/manage/repairContent',
    method: 'put',
    data: data
  })
}

// 删除维修分类管理
export function delRepairContent(id) {
  return request({
    url: '/manage/repairContent/' + id,
    method: 'delete'
  })
}
